var utils = require('../../../utils/util.js');

Page({
  /**
   * 页面的初始数据
   */
  data: {
  	uuid:"",
    wordInfo:[]
  },
  onLoad: function (options){
    var uuid = options.uuid;
    this.setData({
      uuid: uuid
    });
    this.getInfo();
  },
  getInfo: function () {
    var that = this;
    var uuid = this.data.uuid;
    var data = {
      url: "/zfcom/com/getword",
      uuid: uuid,
    };
    utils.request(data).then(function (res) {
      if (res.code == 0) {
        var data = res.data;

        that.setData({
          wordInfo: data,
        });
      } else {

      }
    });
  },
})
